package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;
import com.blockmeta.bbs.immodule.net.pojo.CircleMemberResponse;

import java.util.List;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/3/27.
 */
public interface CircleMemberApi {
    /**
     * @see <a hreh="https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#310-%E8%8E%B7%E5%8F%96%E5%9C%88%E5%AD%90%E6%88%90%E5%91%98-chatgroupgetchatgroupmember-get"/>
     * @param chatGroupId 圈子ID
     * @param userId 用户UID
     * @return 返回圈子成员数据
     */
    @GET("im/chatGroup/getChatGroupMember")
    Flowable<BaseImResponse<List<CircleMemberResponse>>> getCircleMembers(@Query("chatGroupId") long chatGroupId, @Query("userId") int userId);
}
